﻿using System.Windows;
using GalaSoft.MvvmLight.Ioc;
using SellAvi.ViewModel;

namespace SellAvi.Views
{
    /// <summary>
    /// Interaction logic for WindowAddProduct.xaml
    /// </summary>
    public partial class WindowAddProduct : Window
    {
        public WindowAddProduct()
        {
            InitializeComponent();
            this.Unloaded += (o, e) =>
            {
                ViewModelLocator.CleanupEditProduct();
            };
        }
    }
}
